package com.richfit.barcodesystem_cczt.activitis.model.users;

import java.io.Serializable;
import java.util.List;

@lombok.Data
public class UserInfo implements Serializable {

    /**
     * userId : 5d2a4aacd1d8448ab3b72e869d1d6cc6
     * loginName : hm@cnpc.com.cn
     * userName : HM
     * org : {"orgCode":"C104004004","parentCode":"C104004","orgName":"阿尔及利亚综合项目部","orgAbbreviation":"阿尔及利亚","orgId":"C5000000000008","forbidIf":"1","orgType":"0200100004000000002","orgLevel":"0200100005000000011","orgCatalog":"","orgDesc":"","copyFrom":"","lockedIf":"0"}
     * forg : {"orgCode":"C104004004","parentCode":"C104004","orgName":"阿尔及利亚综合项目部","orgAbbreviation":"阿尔及利亚","orgId":"C5000000000008","forbidIf":"1","orgType":"0200100004000000002","orgLevel":"0200100005000000011","orgCatalog":"","orgDesc":"","copyFrom":"","lockedIf":"0"}
     * dorg : {"orgCode":"C104","parentCode":"C","orgName":"长城钻探","orgAbbreviation":"长城钻探","orgId":"C10000000","forbidIf":"1","orgType":"0200100004000000001","orgLevel":"0200100005000000002","orgCatalog":"","orgDesc":"","copyFrom":"","lockedIf":"0"}
     * zorg : null
     * xorg : {"orgCode":"C104004004","parentCode":"","orgName":"阿尔及利亚综合项目部","orgAbbreviation":"","orgId":"","forbidIf":"1","orgType":"","orgLevel":"0200100005000000011","orgCatalog":"","orgDesc":"","copyFrom":"","lockedIf":""}
     * yt : null
     * userType : C1
     * token :
     * rxname :
     * menus : [{"children":[{"children":null,"id":"ce13d8bb9d2c4b648807f4d2e90e155a","name":"需求计划工作台","path":"/plan/workbench"},{"children":[{"children":null,"id":"3d00142a0ac74c4ba39ea325e5d5e85a","name":"常规物资计划创建","path":"/plan/add/normal"},{"children":null,"id":"2d0b78fd8a7a472287fe5425f189c584","name":"资产类物资计划创建","path":"/plan/add/assets"},{"children":null,"id":"fc2bead68a254be6bac65ee7a44e0b71","name":"科技类物资计划创建","path":"/plan/add/science"}],"id":"047a03b77a0843ec9f4057dcde15cfa4","name":"需求计划创建","path":"/plan/add"},{"children":null,"id":"fbf17866054b409ea8ade7b7109c6816","name":"需求计划查询","path":"/plan/query"},{"children":null,"id":"4e20b393de5d4f939e70f6083a89aabd","name":"需求计划汇总审批","path":"/plan/approval"}],"id":"f6b04eaf74034788998de9d8fafc7a61","name":"需求计划","path":"/plan"},{"children":[{"children":null,"id":"8698d7b5bfa14b35a054ac98d8f6246b","name":"询价回复","path":"/supCoop/reply"},{"children":null,"id":"c429d1ff3bfd4f50b9871b196124c36e","name":"订单处理","path":"/supCoop/handle"},{"children":null,"id":"98170557bcda4696b38ce4e30cc319c3","name":"供应商信息维护","path":"/supCoop/supMaintain"},{"children":null,"id":"7e7fdd616afb4b02919fc13706768757","name":"问题解答","path":"/supCoop/supQuestion"},{"children":[{"children":null,"id":"6929eb10f4c84ac7835012bca65942df","name":"装箱单创建","path":"/supCoop/zBoxManage/zboxCreate"},{"children":null,"id":"710055f57caa4896a86ca58f646c5292","name":"装箱单维护","path":"/supCoop/zBoxManage/ZBoxMaintain"}],"id":"37297aec73ac4abd8c701ac53cddedec","name":"装箱单管理","path":"/supCoop/zBoxManage"}],"id":"1d667e5d2558494095d7a99fa546c5c6","name":"供应商协同","path":"/supCoop"},{"children":[{"children":null,"id":"59852bcd0a47491b80ba923b61a59829","name":"库存查询","path":"/inv/inventory"},{"children":null,"id":"70d0ec1f80aa4409bbe35bf9701f44a9","name":"库存统计分析报表","path":"/inv/report"},{"children":null,"id":"966283f86e344e0d9c4f5e03402eaa57","name":"物资出入库查询","path":"/inv/transaction"},{"children":[{"children":null,"id":"d906470aec0b4bcc9078b0aa468bef57","name":"安全库存预警","path":"/inv/earlyWarning/range"},{"children":null,"id":"c2fedccc0e1249d98376b5af8dc366f1","name":"保质期预警","path":"/inv/earlyWarning/shelfLife"},{"children":null,"id":"4f36e7171d7f4acfac0aa393f34eb84c","name":"超定额库存预警设置","path":"/inv/earlyWarning/quota"},{"children":null,"id":"a0800506ae674d5ebb8beebc1ed38767","name":"其他预警项","path":"/inv/earlyWarning/other"}],"id":"6a697d390c2742ec8db13870f3b3ea84","name":"预警管理","path":"/inv/earlyWarning"},{"children":null,"id":"77e49eda2b82451dbe4169fbf7c5a142","name":"仓库管理","path":"/inv/warehouse"},{"children":null,"id":"3ae984d6a55f49b499cd7f0622377a97","name":"仓位管理","path":"/inv/location"},{"children":null,"id":"7e0e6f309b2748c78132cb6347b4e81c","name":"库存盘点","path":"/inv/check"},{"children":null,"id":"4dd10dae0fb442e5a699ce943bc33cc1","name":"仓位调整","path":"/inv/locationAdjust"},{"children":null,"id":"0dbeb6afca9248208c7807bbcc451212","name":"库存定额监控","path":"/inv/quota"},{"children":[{"children":null,"id":"5e76cc2f24d04a44a00a0e79c38a9d52","name":" 调拨申请创建","path":"/inv/transfer/add"},{"children":null,"id":"799be40754dd473eb7d153bced5da7f9","name":"调拨出库","path":"/inv/transfer/out"},{"children":null,"id":"f89d2eef093149a39171343c66f36113","name":"调拨入库","path":"/inv/transfer/in"}],"id":"d4d19f22c1e2426db84b668d0e830863","name":" 单位内调拨","path":"/inv/transfer"}],"id":"e206dbb9efe54ee28f1dc6aa422404d6","name":"仓库库存管理","path":"/inv"},{"children":[{"children":null,"id":"21744ff1cc544ea2b39cfbf9dde35b9c","name":"待办事宜","path":"/mywork/todo"},{"children":null,"id":"cb8cb1b1a2b74fd39e8a1c55f5eab2bd","name":"已办事宜","path":"/mywork/done"}],"id":"1b0711eb94e94f74865601e2729a31e2","name":"我的工作台","path":"/mywork"},{"children":[{"children":[{"children":null,"id":"2b2b99dce73342388589610a7448dd77","name":"装箱单入库质检","path":"/quality/in/pack"},{"children":null,"id":"964fd34591c545b2a7f39127e66d84df","name":"人带料入库质检","path":"/quality/in/material"},{"children":null,"id":"6818cb713bdb4ac6ade2b6b0db2ed278","name":"统购物资入库质检","path":"/quality/in/goods"},{"children":null,"id":"35283bb2172a4a7d85222dcaf1ab9766","name":"检验记录维护","path":"/quality/in/maintenance"},{"children":null,"id":"4f4f6369a3814f1fba883cb18968e8b1","name":"检验记录审批","path":"/quality/in/approve"}],"id":"a55ff121715042b2940e76f92496ee91","name":"入库质检","path":"/quality/in"},{"children":null,"id":"ae697eb441ac49409571fe0ff7fccb4b","name":"库存抽检","path":"/quality/sample"},{"children":null,"id":"580cff76876c485d8a3ef654c7cf335e","name":"质量追踪","path":"/quality/track"},{"children":null,"id":"dc5189dd5f8d4928aea08196e68dc224","name":"质检统计报表","path":"/quality/report"}],"id":"a863bfed009641b2a0e411194688c57b","name":"质量管理","path":"/quality"},{"children":[{"children":[{"children":null,"id":"b5499a96902742ed981f9a55e195b171","name":"调拨申请","path":"/materialWareManage/transferIntoStorage/apply"},{"children":null,"id":"fbb4d0a43baf404a89c3c06c4b45fa7f","name":"调拨入库","path":"/materialWareManage/transferIntoStorage/moveIn"}],"id":"fe623ac4dafc4aa4845b5f1d1104ec74","name":"调拨入库","path":"/materialWareManage/transferIntoStorage"}],"id":"a3d82d2bf9dd410085811d5f00347465","name":"物资入库管理","path":"/materialWareManage"},{"children":[{"children":null,"id":"2bd3de36127c4f42a0f48cbad7a7e483","name":"内贸明细确认","path":"/settlement/confirm"},{"children":null,"id":"1afa94120a5e4796b60acd45c53cb588","name":"内贸明细审核","path":"/settlement/audit"},{"children":null,"id":"91496a953cd34bd5a4fad16251fa866d","name":"入出库凭证匹配","path":"/settlement/mate"},{"children":null,"id":"0ad35863aa4e45698a106b2f56de4ab3","name":"内贸明细结算","path":"/settlement/accounts"},{"children":null,"id":"8ce7777b3cd64c4eb7927fbdc0a309da","name":"项目部结算","path":"/settlement/projectAccount"}],"id":"43fb338b331f4797b7c6e06dcfc2db7f","name":"结算管理","path":"/settlement"},{"children":[{"children":[{"children":null,"id":"0c1f3dffdfde46d2858b549cf9cf7011","name":"调拨出库","path":"/transOut/project/moveOut"}],"id":"1a184d64cc6f4ff3a54e3c2c53569ca4","name":"项目部出库","path":"/transOut/project"}],"id":"fd40f9a9146b4e4b9e9d544941aa4f88","name":"物资出库管理","path":"/transOut"}]
     */

    private String userId;
    private String loginName;
    private String userName;
    private OrgBean org;
    private OrgBean forg;
    private OrgBean dorg;
    private OrgBean zorg;
    private OrgBean xorg;
    private Object yt;
    private String userType;
    private String token;
    private String rxname;
    private List<MenusBean> menus;

    @lombok.Data
    public static class OrgBean implements Serializable {
        /**
         * orgCode : C104004004
         * parentCode : C104004
         * orgName : 阿尔及利亚综合项目部
         * orgAbbreviation : 阿尔及利亚
         * orgId : C5000000000008
         * forbidIf : 1
         * orgType : 0200100004000000002
         * orgLevel : 0200100005000000011
         * orgCatalog :
         * orgDesc :
         * copyFrom :
         * lockedIf : 0
         */

        private String orgCode;
        private String parentCode;
        private String orgName;
        private String orgAbbreviation;
        private String orgId;
        private String forbidIf;
        private String orgType;
        private String orgLevel;
        private String orgCatalog;
        private String orgDesc;
        private String copyFrom;
        private String lockedIf;
    }

    @lombok.Data
    public static class MenusBean implements Serializable {
        /**
         * children : [{"children":null,"id":"ce13d8bb9d2c4b648807f4d2e90e155a","name":"需求计划工作台","path":"/plan/workbench"},{"children":[{"children":null,"id":"3d00142a0ac74c4ba39ea325e5d5e85a","name":"常规物资计划创建","path":"/plan/add/normal"},{"children":null,"id":"2d0b78fd8a7a472287fe5425f189c584","name":"资产类物资计划创建","path":"/plan/add/assets"},{"children":null,"id":"fc2bead68a254be6bac65ee7a44e0b71","name":"科技类物资计划创建","path":"/plan/add/science"}],"id":"047a03b77a0843ec9f4057dcde15cfa4","name":"需求计划创建","path":"/plan/add"},{"children":null,"id":"fbf17866054b409ea8ade7b7109c6816","name":"需求计划查询","path":"/plan/query"},{"children":null,"id":"4e20b393de5d4f939e70f6083a89aabd","name":"需求计划汇总审批","path":"/plan/approval"}]
         * id : f6b04eaf74034788998de9d8fafc7a61
         * name : 需求计划
         * path : /plan  移动端 判断mobile字段
         */

        private String id;
        private String name;
        private String path;
        private List<MenusBean> children;
    }
}
